package com.zhongpengcheng.blog.constant;

/**
 * 雪花算法相关常量
 * @author ZhongPengCheng
 * @version 1.0
 * @date 2021-08-20 23:12:00
 */
public class SnowflakeConstants {
    /**
     * zblog应用ID-workerId
     */
    public static final Long WORKER_ID = 1L;
    /**
     * zblog日志追踪的dataCenterId
     */
    public static final Long DATA_CENTER_ID_FOR_LOG_TRACE_ID = 1L;
    /**
     * userId的dataCenterId
     */
    public static final Long DATA_CENTER_ID_FOR_USER_ID = 2L;
    /**
     * 默认id生成的dataCenterId
     */
    public static final Long DATA_CENTER_ID_FOR_EVERYTHING = 3L;
    /**
     * 验证码的dataCenterId
     */
    public static final Long DATA_CENTER_ID_FOR_CAPTCHA = 4L;
    /**
     * 文件的dataCenterId
     */
    public static final Long DATA_CENTER_ID_FOR_FILE = 5L;
}
